package org.example.library.repository;

import org.example.library.pojo.BorrowRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface IBorrowRecordRepository extends JpaRepository<BorrowRecord, Integer> {
    // 可以根据需要添加自定义查询方法
    Optional<BorrowRecord> findById(Integer id);
}